*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #080808;
  --bg2: #111111;
  --bg3: #181818;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.15);
  --text: #f0ede6;
  --text-muted: rgba(240, 237, 230, 0.45);
  --text-dim: rgba(240, 237, 230, 0.25);
  --accent: #c8ff00;
  --accent2: #ff5c35;
  --mono: "DM Mono", monospace;
  --sans: "DM Sans", sans-serif;
  --display: "Bebas Neue", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* Custom cursor */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 255, 0, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transition:
    transform 0.18s ease,
    opacity 0.3s;
  mix-blend-mode: difference;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}

nav.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-logo {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.85;
}

/* HERO */
#hero {
  min-height: 100vh;
  padding: 0 4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.6) 0%,
    transparent 70%
  );
}

.hero-badge {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(200, 255, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease both;
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.hero-name {
  font-family: var(--display);
  font-size: clamp(6rem, 14vw, 13rem);
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: var(--text);
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-name .stroke {
  -webkit-text-stroke: 1px rgba(240, 237, 230, 0.3);
  color: transparent;
}

.hero-tagline-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 2rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 360px;
  line-height: 1.7;
}

.hero-roles {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.hero-role {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero-role.active {
  color: var(--accent2);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  animation: fadeUp 0.8s 0.5s ease both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollAnim 1.8s ease infinite;
}

@keyframes scrollAnim {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* SECTIONS */
section {
  padding: 7rem 4rem;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin-bottom: 3rem;
}

/* ABOUT */
#about {
  background: var(--bg2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.about-text p strong {
  color: var(--text);
  font-weight: 500;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--border);
}

.stat {
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.stat:hover {
  background: var(--bg3);
}

.stat-num {
  font-family: var(--display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
  display: block;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2rem;
}

.skill-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 2px;
  transition: all 0.2s;
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* PORTFOLIO */
#portfolio {
  background: var(--bg);
}

.portfolio-filter {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border);
  background: none;
  color: var(--text-muted);
  cursor: none;
  border-radius: 2px;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.portfolio-item {
  background: var(--bg);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  cursor: none;
}

.portfolio-item-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: var(--bg3);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.portfolio-item-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.9), transparent 50%);
  z-index: 1;
}

.portfolio-item:hover .portfolio-item-inner {
  transform: scale(1.03);
}

.p-num {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  z-index: 2;
}

.p-cat {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
  z-index: 2;
  position: relative;
}

.p-title {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  z-index: 2;
  position: relative;
}

.p-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 48px;
  height: 48px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  z-index: 3;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-item:hover .p-arrow {
  transform: translate(-50%, -50%) scale(1);
}

/* Placeholder colors for portfolio items */
.pi-1 .portfolio-item-inner {
  background: #1a1408;
}

.pi-2 .portfolio-item-inner {
  background: #0a1420;
}

.pi-3 .portfolio-item-inner {
  background: #140a14;
}

.pi-4 .portfolio-item-inner {
  background: #081414;
}

.pi-5 .portfolio-item-inner {
  background: #14080a;
}

.pi-6 .portfolio-item-inner {
  background: #0e0e0e;
}

/* SERVICES */
#services {
  background: var(--bg2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 1rem;
}

.service-card {
  background: var(--bg2);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: none;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
}

.service-card:hover {
  background: var(--bg3);
}

.service-card:hover::after {
  width: 100%;
}

.service-icon {
  font-family: var(--display);
  font-size: 3rem;
  color: rgba(200, 255, 0, 0.12);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}

.service-card:hover .service-icon {
  color: rgba(200, 255, 0, 0.3);
}

.service-num {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
}

.service-name {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1.5rem;
}

.service-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 2px;
}

/* CONTACT */
#contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.contact-intro p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 3rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all 0.25s;
}

.contact-link:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.contact-link-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: all 0.25s;
}

.contact-link-icon svg {
  width: 21px;
  height: 21px;
}

.contact-link:hover .contact-link-icon {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-link-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.contact-link-val {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

input,
textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 300;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

::placeholder {
  color: var(--text-dim);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 1rem 2rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: none;
  border-radius: 2px;
  margin-top: 0.5rem;
  transition:
    opacity 0.2s,
    transform 0.2s;
  align-self: flex-start;
}

.submit-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* FOOTER */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

.footer-logo span {
  color: var(--accent);
}

.footer-copy {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-social {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.2s;
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-social:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* PROFILE CIRCLE */
.profile-circle-wrap {
  position: absolute;
  top: 50%;
  right: clamp(2rem, 8vw, 7rem);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatUpDown 4s ease-in-out infinite;
  z-index: 2;
}

@keyframes floatUpDown {
  0%,
  100% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(calc(-50% - 18px));
  }
}

.profile-orbit {
  position: relative;
  width: clamp(180px, 22vw, 340px);
  height: clamp(180px, 22vw, 340px);
}

.profile-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(200, 255, 0, 0.18);
  animation: spinRing 18s linear infinite;
}

.profile-ring::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--accent);
}

@keyframes spinRing {
  to {
    transform: rotate(360deg);
  }
}

.profile-ring-2 {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  animation: spinRing 28s linear infinite reverse;
}

.profile-img {
  position: absolute;
  inset: clamp(16px, 2.5vw, 30px);
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.profile-initials {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  color: var(--text);
  line-height: 1;
  letter-spacing: 0.06em;
}

.profile-img-hint {
  font-family: var(--mono);
  font-size: clamp(0.5rem, 0.9vw, 0.65rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.profile-label {
  position: absolute;
  bottom: clamp(-28px, -3vw, -38px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: clamp(0.55rem, 0.85vw, 0.68rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .profile-circle-wrap {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    animation: floatUpDownMobile 4s ease-in-out infinite;
    margin: 0 auto 2rem auto;
    display: flex;
  }

  @keyframes floatUpDownMobile {
    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-16px);
    }
  }
}

@media (max-width: 900px) {
  nav {
    padding: 1.2rem 2rem;
  }

  #hero,
  section {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero-name {
    font-size: clamp(4.5rem, 16vw, 9rem);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .portfolio-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .fp-capabilities {
    grid-template-columns: 1fr;
  }

  .fp-screenshot-frame,
  .fp-video-frame {
    aspect-ratio: 4/3;
  }

  .hero-tagline-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .nav-links {
    display: none;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ===================================================== */
/* FEATURED PROJECT                                       */
/* ===================================================== */
.featured-project {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 3.5rem;
}

.featured-project-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.2rem;
}

.featured-project-label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent2);
  border-radius: 50%;
}

.featured-project-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
  max-width: 900px;
}

.featured-project-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.featured-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2rem;
}

.tech-badge {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 2px;
  background: var(--bg3);
}

.featured-project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.fp-btn {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border-radius: 2px;
  text-decoration: none;
  cursor: none;
  transition:
    opacity 0.2s,
    transform 0.2s,
    border-color 0.2s,
    color 0.2s;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  font: inherit;
}

.fp-btn-primary {
  background: var(--accent);
  color: var(--bg);
  font-family: var(--mono);
}

.fp-btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.fp-btn-ghost {
  background: none;
  border-color: var(--border);
  color: var(--text-muted);
}

.fp-btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.fp-block-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.fp-flow-label {
  margin-top: 2.5rem;
}

.fp-block-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 1.2rem;
  max-width: 560px;
}

/* Screenshot */
.fp-screenshot-frame {
  position: relative;
  width: 100%;
  max-width: 980px;
  aspect-ratio: 16/9;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  cursor: none;
  transition:
    border-color 0.25s,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.fp-screenshot-frame:hover,
.fp-screenshot-frame:focus-visible {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  outline: none;
}

.fp-screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fp-screenshot-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
  background-color: var(--bg3);
}

.fp-ph-icon {
  color: var(--text-dim);
}

.fp-screenshot-zoom {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.7);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.25s;
  pointer-events: none;
}

.fp-screenshot-frame:hover .fp-screenshot-zoom,
.fp-screenshot-frame:focus-visible .fp-screenshot-zoom {
  opacity: 1;
  transform: scale(1);
}

/* Video Link */
.fp-video-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.fp-video-link:hover,
.fp-video-link:focus-visible {
  outline: none;
}

.fp-video-link:hover .fp-video-frame {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

/* Video */
.fp-video-frame {
  position: relative;
  width: 100%;
  max-width: 980px;
  aspect-ratio: 16/9;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  transition:
    border-color 0.25s,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.fp-video-placeholder {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.fp-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  background: rgba(8, 8, 8, 0.35);
  border: none;
  padding: 0;
  width: 100%;
  height: 100%;
}

.fp-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform 0.25s;
}

.fp-video-play:hover .fp-play-btn,
.fp-video-play:focus-visible .fp-play-btn {
  transform: scale(1.08);
}

.fp-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.fp-caption {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* Capabilities checklist */
.fp-capabilities {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 2rem;
  max-width: 720px;
}

.fp-capabilities li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 300;
}

.fp-capabilities li::before {
  content: "✓";
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
  flex-shrink: 0;
}

/* How it works steps */
.fp-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 720px;
}

.fp-steps li {
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

.fp-step-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  flex-shrink: 0;
}

/* Workflow diagram */
.fp-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.fp-flow span:not(.fp-flow-sep) {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--bg3);
  white-space: nowrap;
}

.fp-flow-sep {
  color: var(--text-dim);
}

/* Lightbox */
.fp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  cursor: none;
}

.fp-lightbox.is-open {
  display: flex;
}

.fp-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.fp-lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  font-family: var(--mono);
  color: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: none;
}

@media (max-width: 900px) {
  .featured-project {
    margin-top: 3.5rem;
    padding-top: 3rem;
    gap: 2.5rem;
  }

  .fp-lightbox-close {
    top: 1.2rem;
    right: 1.2rem;
  }
}
